package com.zb.Service;

import java.util.List;

import com.zb.entity.Notice;

public interface NoticeService {
	public List<Notice> findNoticeAllOk(int index,int size);
	
	public int findNoticeAllOkcount();

	public List<Notice> findNoticeAllNoByUserId(int index,int size,int userId);
	
	public int findNoticeAllNoByUserIdcount(int id);

	public Notice getNoticeById(int id);

	public void saveNotice(Notice n);
	//修改（实际修改草稿）
	public void updateNotice(Notice n);
	

}